ShortPixel\ShortPixelLogger\ShortPixelLogger B

Total Complexity 84
Dependencies 2
Dependents 41
Total lines 468
Lines of code 305
Logical lines of code 171
Comment lines 48
Methods 29
Properties 17

Methods 29

Method Rating Maintainability Complexity Lines of code
__construct()
A
45 14 41
getWriteFile()
A
48 9 36
addLog()
A
50 9 28
formatLine()
A
51 9 25
initView()
S
57 6 14
write()
S
55 5 18
monitorHooks()
S
62 4 10
formatBytes()
S
59 3 14
addMemoryLog()
S
58 2 15
loadView()
S
58 2 15
getEnv()
S
67 2 9
getInstance()
S
69 2 7
getLogLevel()
S
75 1 4
addTrace()
S
72 1 5
isManualDebug()
S
75 1 4
getLogPath()
S
75 1 4
logLevel()
S
73 1 5
addTemp()
S
79 1 3
addMemory()
S
75 1 4
unitToInt()
S
71 1 5
addDebug()
S
72 1 5
addInfo()
S
72 1 5
addWarning()
S
79 1 3
addWarn()
S
72 1 5
addError()
S
72 1 5
logHook()
S
71 1 5
setLogLevel()
S
81 1 3
setLogPath()
S
76 1 4
debugIsActive()
S
75 1 4